//
//  TuiJianFirstModel.m
//  TTMusic
//
//  Created by 马金晖 on 16/4/1.
//  Copyright © 2016年 cpy. All rights reserved.
//

#import "TuiJianFirstModel.h"

@implementation TuiJianFirstModel


-(instancetype)initWithDataSource:(NSDictionary *)dataSource {
    
    self = [super init];
    
    if (self) {
        
        [self setValuesForKeysWithDictionary:dataSource];
        
//        NSMutableArray *array = [NSMutableArray array];
//        
//        for (NSDictionary *dic in self.songs) {
//            
//            TuiJianSongsModel *tuiJianSongsModel = [[TuiJianSongsModel alloc]init];
//            [tuiJianSongsModel setValuesForKeysWithDictionary:dic];
//            
//            [array addObject:tuiJianSongsModel];
//            
//        }
//        
//        self.songs = [NSArray arrayWithArray:array];
//        
    }
    
    return self;

}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"id"]) {
        self.idl = value;
    }
    
}



@end
